<?php
	echo('<form name="submit" method="post" action="md5.php">
	<input type="tekst" name="pass">
	<input type="submit" name="md5" value="MD5">
	</form>');

	if(isset($_POST['md5']))
	{
		if($_POST['md5'] == 'MD5')
		{
			echo $_POST['pass'] . '<br>';
			echo md5($_POST['pass']);
		}
	}

?>